From: Roger Pau Monne Date: Thu, 18 Aug 2016 09:10:44 +0000 (+0200) Subject: tools/xenalyze: append argp LD flags if needed X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~543 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f7052bb4dca15df17523e195969a5be2e7055480;p=xen.git tools/xenalyze: append argp LD flags if needed This is a side-effect of commit c36e1c, which currently prevents compiling xenalyze with libcs that don't have argp built-in. Signed-off-by: Roger Pau Monné Acked-by: George Dunlap Acked-by: Wei Liu --- diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile index a85ed33406..c8c36a8c4e 100644 --- a/tools/xentrace/Makefile +++ b/tools/xentrace/Makefile @@ -50,7 +50,7 @@ xentrace_setsize: setsize.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS) xenalyze: xenalyze.o mread.o - $(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS) -include $(DEPS)